package com.ynunicom.dc.dingdingcontractapp.dto.exception;

import javax.servlet.http.HttpServletResponse;

/**
 * @author: jinye.Bai
 * @date: 2020/6/3 15:09
 */
public class FailToMakeDir extends Exception {
    private Integer code;

    public FailToMakeDir(int code, String message) {
        super(message);
        this.code = code;
    }

    public FailToMakeDir(String message) {
        super(message);
        this.code = HttpServletResponse.SC_BAD_GATEWAY;
    }
}
